<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title></title>
<link href="style/store.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
	function onLoadInit(){
		document.getElementById("username").focus();
	}
</script>
</head>
<body onload="onLoadInit();" >
<form name="formName" method="post">
	<br/><br/><br/><br/><br/>
	<table align="center">
		<tr>
			<td>
				<span class="error" >
					<s:actionerror/>
					<s:actionmessage/>
				</span>
			</td>
		</tr>
	</table>
	<table align="center" width="35%">
		<tr>
			<td colspan="4" class="verdana" height="30" align="center" bgcolor="#336699">
				<font color="#ffffff">Login</font>
			</td>
		</tr>
		<tr bgcolor="#e8ecf0" style="font-size: 11px; font-family: Arial, Helvetica, sans-serif" >
			<td>
				<label>Username: </label>
			</td>
			<td>
				<s:textfield name="username" id="username" ></s:textfield>
			</td>
		</tr>
		<tr bgcolor="#e8ecf0" style="font-size: 11px; font-family: Arial, Helvetica, sans-serif" >
			<td>
				<label>Password: </label>
			</td>
			<td>
				<s:password name="password" ></s:password>
			</td>
		</tr>
		<tr bgcolor="#e8ecf0" style="font-size: 11px; font-family: Arial, Helvetica, sans-serif" >
			<td colspan="2" align="center" ><s:submit cssClass="button" value="Login" action="doLoginAction" ></s:submit>
		</tr>
	</table>
</form>
</body>
</html>